package com.xxl.job.admin.dao;

import com.xxl.job.admin.core.model.XxlJobInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Zhihj
 * @Date: 2023-10-15 22:28:05
 */
@Mapper
public interface XxlJobInfoDao {
    public XxlJobInfo loadById(@Param("id") int id);

    List<XxlJobInfo> pageList(int start, int length, int jobGroup, int triggerStatus, String jobDesc, String executorHandler, String author);

    int pageListCount(int start, int length, int jobGroup, int triggerStatus, String jobDesc, String executorHandler, String author);

    //List<XxlJobInfo> fundAll();
}
